//
//  UIImage+Layout.h
//  yilutongxing
//
//  Created by T&J on 2017/12/2.
//  Copyright © 2017年 YZE. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (Layout)

-(UIImage*)getSubImage:(CGRect)rect;
-(UIImage*)scaleToSize:(CGSize)size;  

+(UIImage*)getInsetsScaleImageFrom:(UIImage*)src_image toSize:(CGSize)size;
@end
